package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该车辆当天该类型最后一条违规数据
 */
public class CarViolationTypeNameLastOneKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_VIOLATION_TYPE_NAME_LAST_ONE_PREFIX = "CAR_VIOLATION_TYPE_NAME_LAST_ONE_TODAY_";

    private CarViolationTypeNameLastOneKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarViolationTypeNameLastOneKeyToday token = new CarViolationTypeNameLastOneKeyToday(TOKEN_EXPIRE, CAR_VIOLATION_TYPE_NAME_LAST_ONE_PREFIX);
}
